<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{background: #fff url(https://t7.baidu.com/it/u=2529476510,3041785782&fm=193&f=GIF) 0 0 no-repeat; background-size: 100% 100vh;}
    </style>
</head>
<body>
    <button onclick="showHtml()">弹出html代码内容</button>
    <button onclick="lz.previewVideo('https://vod.v.jstv.com/2023/01/01/JSTV_JSWSNEW_1672502699220_N764fG9_143.mp4')">弹出视频播放窗口</button>
    <button onclick="lz.previewIframe('https://www.jstv.com')">弹出iframe打开第三方网页</button>
    <button onclick="showImage()">弹出图片预览</button>
    <script src="lz.preview.js"></script>
    <script>
        function showHtml(){
            lz.previewHtml(`<div style="background: #fff; border-radius:8px; color: #f00; padding: 15px;">疯狂放假啊是打开肌肤看，的发售地方撒的发售的发售的发，啊是的发售的发售地方看，撒的发售的发售地方， 啊是的发售的发售的发售的发顺丰，撒的发售的发售的发售。<div>`)
        }
        function showImage(){
            lz.previewImage('https://t7.baidu.com/it/u=434167918,556047282&fm=193&f=GIF',[
                'https://t7.baidu.com/it/u=3631608752,3069876728&fm=193&f=GIF',
                'https://t7.baidu.com/it/u=2529476510,3041785782&fm=193&f=GIF',
                'https://t7.baidu.com/it/u=434167918,556047282&fm=193&f=GIF',
                'https://t7.baidu.com/it/u=2615688296,4269099018&fm=193&f=GIF',
                'https://t7.baidu.com/it/u=3562178811,3886004127&fm=193&f=GIF',
                'https://t7.baidu.com/it/u=2015686937,1700874508&fm=193&f=GIF',
            ]);
        }
        // showImage();
    </script>
</body>
</html>